	<table>
		<thead>
			<tr>
				<th width="20"><?php echo form_checkbox(array('name' => 'action_to_all', 'class' => 'check-all')); ?></th>
				<th><?php echo lang('uploking_admin_user_manager_id_label'); ?></th>
				<th class="collapse"><?php echo lang('uploking_home_username_label'); ?></th>
				<th class="collapse"><?php echo lang('uploking_admin_user_manager_name_label'); ?></th>
				<th class="collapse"><?php echo lang('uploking_admin_user_manager_email_label'); ?></th>
				<th class="collapse"><?php echo lang('uploking_profile_account_level_label'); ?></th>
				<th class="collapse"><?php echo lang('uploking_admin_user_manager_pin_label'); ?></th>
				<th class="collapse"><?php echo lang('uploking_admin_user_manager_country_label'); ?></th>
				<th class="collapse"><?php echo lang('uploking_admin_user_manager_status_label'); ?></th>
				<th class="collapse"><?php echo lang('uploking_admin_user_manager_joined_time_label'); ?></th>
				<th width="250"></th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="11">
					<div class="inner"><?php $this->load->view('admin/partials/pagination'); ?></div>
				</td>
			</tr>
		</tfoot>
		<tbody>
			<?php foreach ($userList as $user) : ?>
				<tr>
					<td><?php echo form_checkbox('action_to[]', $user->id); ?></td>
					<td><?php echo $user->id; ?></td>
					<td class="collapse"><?php echo $user->username?></td>
					<td class="collapse"><?php echo $user->first_name.' '. $user->last_name?></td>
					<td class="collapse"><?php echo $user->email?></td>
					<td class="collapse">
					<?php
						if($currentPackage = getCurrentPackage($user->id)){
							echo $currentPackage->name;
						}else{
							echo lang('uploking_profile_free_label');
						}
					?>
					</td>
					<td class="collapse"><?php echo $user->pin?></td>
					<td class="collapse"><?php echo $user->country_name?></td>
					<td class="collapse">
					<?php
						if($user->active){
							echo lang('uploking_admin_user_manager_status_active_label');
						}else{
							echo lang('uploking_admin_user_manager_status_inactive_label');
						}
					?>
					</td>
					<td class="collapse"><?php echo format_date($user->created_time); ?></td>
					<td>
						<?php echo anchor('admin/user_manager/files/index/' . $user->id, lang('uploking_admin_user_manager_manage_file_label'), 'class="btn orange edit"'); ?>
						<?php echo anchor('admin/user_manager/edit/' . $user->id, lang('global:edit'), 'class="btn orange edit"'); ?>
						<?php echo anchor('admin/user_manager/delete/' . $user->id, lang('global:delete'), array('class'=>'confirm btn red delete')); ?>
					</td>
				</tr>
			<?php endforeach; ?>
		</tbody>
	</table>

	<div class="table_action_buttons">
		<?php $this->load->view('admin/partials/buttons', array('buttons' => array('delete', 'active'))); ?>
	</div>